package controller
{
	import view.ApplicationMediator; 
	import view.FormationPanelMediator; 
	import view.components.FormationPanel;
	import org.puremvc.as3.interfaces.INotification; 
	import org.puremvc.as3.patterns.command.SimpleCommand; 
	
	public class ViewPrepCommand extends SimpleCommand 
	{
		//public static const NAME : String = 'ViewCommand'; 
		
		/** 
		* Constructor 
		*/ 
		public function ViewPrepCommand() 
		{ 
			super(); 
		} 
		 
		/** 
		* Execute register of view/mediator application elements 
		*/ 
		override public function execute(note : INotification):void 
		{ 
		 	facade.registerMediator(new ApplicationMediator(note.getBody() as LucyID));
		}
	}
}